package question4;

import question4.Expression;

public abstract class Unaire extends Expression{

	protected Expression expression;

	public Unaire(Expression expression){
		this.setExpression(expression); 
	}

	public Expression op(){
		return getExpression();
	}

	public abstract <T> T accepter(Visiteur<T> v);

	public Expression getExpression() {
		return expression;
	}

	public void setExpression(Expression expression) {
		this.expression = expression;
	}
}